package com.icehand.mybatis.payment.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author icehand
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("app")
public class App extends Model<App> {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String appName;
    private Short status;
    private Date createTime;
    private Date updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
